package com.cta.view.json;

import com.cta.constant.ProfileUserMapping;

public class ProfileJson extends BaseJson {

	private String numOfbytes;
	private String columnMapping;
	private String space;

	public ProfileJson() {
		super(null, null, null);
	}

	public ProfileJson(String id, String name, String description, String numOfbytes) {
		super(id, name, description);
		this.numOfbytes = numOfbytes;
	}

	public ProfileJson(String id, String column, String name, String description, String numOfbytes) {
		super(id, column, name, description);
		this.numOfbytes = numOfbytes;
	}

	public ProfileJson(String id, String column, String name, String description, String numOfbytes,
			ProfileUserMapping columnMapping, String space) {
		super(id, column, name, description);
		this.numOfbytes = numOfbytes;
		this.space = space;
		if(columnMapping != null){
			this.columnMapping = columnMapping.name();
		}
		
	}

	public String getNumOfbytes() {
		return numOfbytes;
	}

	public void setNumOfbytes(String numOfbytes) {
		this.numOfbytes = numOfbytes;
	}

	public String getColumnMapping() {
		return columnMapping;
	}

	public void setColumnMapping(String columnMapping) {
		this.columnMapping = columnMapping;
	}

	public String getSpace() {
		return space;
	}

	public void setSpace(String space) {
		this.space = space;
	}

}
